package com.lyb.services;

import com.github.pagehelper.PageInfo;
import com.lyb.Dto.CategoryDto;
import com.lyb.pojo.Category;

public interface CategoryService {
    Boolean add(CategoryDto category);
    Boolean del(Long id);
    Boolean update(Category category);
    PageInfo<Category> queryPage(Integer pageSize, Integer pageNum);
}
